import instance from '@/utils/request';

export function getusermanageapi(data) {
  return instance.request({
    url: "api/SysManage/GetUserManage",
    method: "post",
    data
  })
}

export function updatusermanagefalseapi(data) {
  return instance.request({
    url: "api/SysManage/PutUpdateUserManageFalse",
    method: "put",
    data
  })
}

export function GetShowUserManage(data) {
  return instance.request({
    url: "api/UserManage/GetUserManage",
    method: "post",
    data
  })
}

export function GetTotaocount() {
  return instance.request({
    url: "/api/UserManage/GetCount",
    method: "get",
  })
}

export function addUserManage(data) {
  return instance.request({
    url: "api/UserManage/PostAddUserManage",
    method: "post",
    data
  })
}

export function updUserManage(data) {
  return instance.request({
    url: "api/UserManage/PutUpdateUserManage",
    method: "put",
    data
  })
}

export function deleteUserManage(data) {
  return instance.request({
    url: "api/UserManage/DeleteUserManage",
    method: "delete",
    data
  })
}
